
            <aside class="right-side">                
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                        Data Tables
                        <small>advanced tables</small>
                    </h1>
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                        <li><a href="#">Tables</a></li>
                        <li class="active">Data tables</li>
                    </ol>
                </section>

                <!-- Main content -->
                <section class="content">
         
                    
                            <div class="box">
                                <div class="box-header">
                                    <h3 class="box-title">Data Table With Full Features</h3>                                    
                                </div><!-- /.box-header -->
                                <div class="box-body table-responsive">
                                   
        <?php
        $form = $this->beginWidget('CActiveForm', array(
            'htmlOptions' => array(
                'name' => 'frmOrganization')
        ));
        ?>
 

 <input type="text" name="keywords" id="search" style="width:280px;height:20px;"/>
    
    
 <?php
 $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit',
     'label' => 'Search',
     'htmlOptions' => array(
         'id' => 'btnSearch',
         'style' => '  
            margin-top: 0px;
            margin-left: 5px;
           vertical-align:top;align:center;',
     ),
         )
 );
 ?>
 
<?php $this->endWidget(); ?> 
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    
                                    





<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'personal-grid',
      
	'dataProvider'=>$PersonalList->search(),
	
	'columns'=>array(
		             array(
            'header' => 'No.',
            'value' => '$this->grid->dataProvider->pagination->currentPage*$this->grid->dataProvider->pagination->pageSize + $row+1', //  row is zero based
        ),
        
                    array(
            'name' => 'PERSONAL_IMAGES',
            'type' => 'html',
            'value' => '(!empty($data->PERSONAL_IMAGES))?CHtml::image("./images/personal/".$data->PERSONAL_IMAGES,"",array("style"=>"width:180px;")):"no image"',
        ),
            'PERSONAL_CDOE', 
            'IDCARD', 
            'PERSONAL_NAME', 
            'PERSONAL_LASTNAME',
         
            'TEL', 
     
      
      
            
            
 array(
            'class' => 'bootstrap.widgets.TbButtonColumn',
            'template' => ' {edit} {delete}',
            'buttons' => array
                (
                'edit' => array
                    (
                    'label' => 'Edit',
                    'icon' => 'pencil white',
                    'url' => 'Yii::app()->createUrl("Product/AddProduct", array("prdID"=>$data->ID))',
                    'options' => array(
                        'class' => 'btn btn-small btn-success',
                    ),
                ),
                'delete' => array
                    (
                    'label' => 'Del',
                    'icon' => 'icon-trash white',
                    'url' => 'Yii::app()->createUrl("Product/delProduct", array("prdID"=>$data->ID))',
                    'options' => array(
                        'class' => 'btn btn-small btn-danger',
                    ),
                ),
            ),
            'htmlOptions' => array(
                'style' => 'width: 120px',
            ),
        )
    ),
));
?>

                                </div><!-- /.box-body -->
                            </div><!-- /.box -->
                        </div>
                    </div>

                </section><!-- /.content -->
            </aside><!-- /.right-side -->
       
